
package com.demo.zhihu.service;

import com.demo.zhihu.model.Answer;
import com.demo.zhihu.model.Comment;
//import com.demo.zhihu.model.Answer;
import com.demo.zhihu.model.Question;

import cn.techarts.whale.Bind;

@Bind(target=QuestionServiceImpl.class)
public interface QuestionService {
    public Question ask(int asker,String tilte, String summary);
    public Answer answer(int question, int user, String content);
    public Comment reply(int comment, int commenter, String content);
    public Comment comment(int answer,int commenter, String content);
    public boolean likeSomeone(int type, int id, int user);
}
